package com.yuanhua.core.context;

/**
 * 常量工具类
 *
 */
public class BaseContextConstants {
    /**
     *
     */
    public static final String TOKEN_NAME = "token";
    /**
     *
     */
    public static final String JWT_KEY_USER_ID = "userid";
    /**
     *
     */
    public static final String JWT_KEY_NAME = "name";
    /**
     *
     */
    public static final String JWT_KEY_ACCOUNT = "account";

    /**
     * 组织id
     */
    public static final String JWT_KEY_ORG_ID = "orgid";
    /**
     * 岗位id
     */
    public static final String JWT_KEY_STATION_ID = "stationid";

    /**
     * 动态数据库名前缀。  每个项目配置死的
     */
    public static final String DATABASE_NAME = "database_name";
    /**
     * 封装企业id常量
     * @author songguoxiang
     * @date: 2022/6/2 9:36
     */
    public static final String JWT_KEY_COMPANY_ID = "conmpanyid";
    /**
     * 用户级别
     * @author songguoxiang
     * @date: 2022/6/6 13:48
     */
    public static final String JWT_KEY_LEVEL = "level";
    public static final String JWT_KEY_USERINFO = "user";
}
